Description:
The negation operator slows down the readability of the program, so it is recommended that it should not be used frequently.
Incorrect:
if not readNext() then
reportError()
else
processNext();
Correct:
if readNext() then
processNext()
else
reportError();
Refactoring: